package com.bytz.modules.cms.reseller.constant;

public class ResellerConstant {

    /**
     * 经销商状态
     */
    public static final class ResellerStatus {
        public static final String ENABLE = "1";
        public static final String DISABLE = "2";
    }

    /**
     * 经销商和终端用户关系类型
     */
    public static final class ResellerEndUserType {
        public static final String SOLD_TO = "1";
        public static final String SHIP_TO = "2";
    }

    /**
     * 经销商登录相关
     */
    public static final class ResellerSecurity {
        public static final String CACHE_PREFIX = "mall:reseller:";

        public static final String SECURITY_CACHE_PREFIX = "security:cache:reseller";

        public static final String RESELLER_ROLE_CODE = "Reseller";
    }

    public static final class CouponStatus {
        // 未使用
        public static final Integer ENABLE = 1;
        // 已使用
        public static final Integer USED = 0;
    }

    /**
     * 经销商独占优惠偏移类型
     */
    public static final class ResellerProductOffsetType {
        /**
         * 无价格
         */
        public static final String NO_PRICE = "no";

        /**
         * 偏移
         */
        public static final String ADD = "add";
    }

    public static final class FileName {
        public static final String PRICE_LIST = "%s价格表.xlsx";
    }


    public static final class BizPath {
        public static final String PRICE_LIST = "/admin/reseller/priceList";
    }

    public static final class Email {
        public static final String RESET_PASS_SUBJECT = "CMS密码重置通知";
        public static final String RESET_PASS_CONTEXT = "您的CMS密码已被重置，新密码为 %s ，请登录后及时修改。";
        public static final String PRICE_LIST_SUBJECT = "CMS价格表";
        public static final String PRICE_LIST_CONTEXT = "您的CMS价格表如下，请查收。";

    }
}
